package com.wodsy.phoenix.datadao.shopc.dao.impl;

import com.wodsy.phoenix.datadao.base.BaseHibernateDao;
import com.wodsy.phoenix.datadao.shopc.dao.GoodsClassInShopCascadeDao;
import com.wodsy.phoenix.dataobject.shopc.model.GoodsClassInShopCascade;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;


@Repository("goodsClassInShopCascaseDao")
public class GoodsClassInShopCascadeDaoImpl extends BaseHibernateDao<GoodsClassInShopCascade, Integer> implements GoodsClassInShopCascadeDao {
	@Autowired
	@Qualifier(value="shopc")
	@Override
	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
	}

	@Override
	public Class<GoodsClassInShopCascade> getModelClass() {
		return GoodsClassInShopCascade.class;
	}

}
